Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correctly format record names to ensure matching coordinates #2

Merged
merged 2 commits into from
Sep 5, 2023

Conversation

Niallfitzy1
Copy link
Collaborator

Fixes #1

The Record.name value from Porkbun doesn't have a trailing ., while libdns always formats with one. Appending the . lets us match reliably.

Improves the test to ensure the record counts are as expected

Performs some refactoring to improve error handling & reduce repetition when calling the API

@Niallfitzy1 Niallfitzy1 merged commit f7c6860 into main Sep 5, 2023
@Niallfitzy1 Niallfitzy1 deleted the fix-updating-existing branch September 5, 2023 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DNS Entries are not overwritten, they are appended
1 participant